import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios  from  'axios'
import '../public/lib/iconfont.css'

Vue.prototype.$Bus=new  Vue()
Vue.prototype.$axios=axios

Vue.config.productionTip = false

//Vue.directive('指令名',对象)
Vue.directive('focus',{
  inserted(el,binding){
     el.focus()
  }
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
